package com.peas.platform.common.core.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Configuration
@ConfigurationProperties(prefix = "swagger")
@Data
public class SwaggerProperties {
    private boolean enabled;
    private String title;//应用程序的名称。
    private String name;
    private String description;
    private String url;
    private String email;
    private String version;
    private String termsOfService;//API的服务条款。
    private String license;
    private List<String> basePackage;
}
